function r = serialize(a,b,c)
for i = 0 : size(a)-1;
    r(3*i+1) = a(i+1);
    r(3*i+2) = b(i+1);
    r(3*i+3) = c(i+1);
end
